<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Mar 5, 2013 11:44:43 PM by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="com.edu.hre.db.pojo.HreEmployee" table="hre_employee" catalog="hrentry_db">
        <id name="empNumber" type="java.lang.Integer">
            <column name="emp_number" />
            <generator class="identity" />
        </id>
        <property name="empLastname" type="string">
            <column name="emp_lastname" length="100" not-null="true" />
        </property>
        <property name="empFirstname" type="string">
            <column name="emp_firstname" length="100" not-null="true" />
        </property>
        <property name="empMiddleName" type="string">
            <column name="emp_middle_name" length="100" not-null="true" />
        </property>
        <property name="empNickName" type="string">
            <column name="emp_nick_name" length="100" />
        </property>
        <property name="empBirthday" type="date">
            <column name="emp_birthday" length="10" />
        </property>
        <property name="nationCode" type="java.lang.Integer">
            <column name="nation_code" />
        </property>
        <property name="empGender" type="java.lang.Short">
            <column name="emp_gender" />
        </property>
        <property name="empMaritalStatus" type="string">
            <column name="emp_marital_status" length="20" />
        </property>
        <property name="empIdCardNum" type="string">
            <column name="emp_id_card_num" length="100" />
        </property>
        <property name="empIdCardPlace" type="string">
            <column name="emp_id_card_place" length="100" />
        </property>
        <property name="empIdCardDate" type="date">
            <column name="emp_id_card_date" length="10" />
        </property>
        <property name="empMilitaryService" type="string">
            <column name="emp_military_service" length="100" />
        </property>
        <property name="empStatus" type="java.lang.Integer">
            <column name="emp_status" />
        </property>
        <property name="jobTitleCode" type="java.lang.Integer">
            <column name="job_title_code" />
        </property>
        <property name="workStation" type="java.lang.Integer">
            <column name="work_station" />
        </property>
        <property name="empStreet1" type="string">
            <column name="emp_street1" length="100" />
        </property>
        <property name="empStreet2" type="string">
            <column name="emp_street2" length="100" />
        </property>
        <property name="districtCode" type="string">
            <column name="district_code" length="100" />
        </property>
        <property name="counCode" type="string">
            <column name="coun_code" length="100" />
        </property>
        <property name="provinCode" type="string">
            <column name="provin_code" length="100" />
        </property>
        <property name="empZipcode" type="string">
            <column name="emp_zipcode" length="20" />
        </property>
        <property name="empHmTelephone" type="string">
            <column name="emp_hm_telephone" length="50" />
        </property>
        <property name="empMobile" type="string">
            <column name="emp_mobile" length="50" />
        </property>
        <property name="empWorkTelephone" type="string">
            <column name="emp_work_telephone" length="50" />
        </property>
        <property name="empWorkEmail" type="string">
            <column name="emp_work_email" length="50" />
        </property>
        <property name="joinedDate" type="date">
            <column name="joined_date" length="10" />
        </property>
        <property name="empOthEmail" type="string">
            <column name="emp_oth_email" length="50" />
        </property>
        <property name="dateCreated" type="timestamp">
            <column name="date_created" length="19" />
        </property>
        <property name="dateModified" type="timestamp">
            <column name="date_modified" length="19" />
        </property>
        <property name="isDeleted" type="java.lang.Boolean">
            <column name="is_deleted" />
        </property>
        <property name="mainUsername" type="string">
            <column name="main_username" length="45" />
        </property>
    </class>
</hibernate-mapping>
